import classNames from 'classnames';

import type { FC, SVGProps } from 'react';

const Crowdin: FC<SVGProps<SVGSVGElement>> = props => (
  <svg
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 180 37"
    width="180"
    height="37"
    fill="none"
    {...props}
    className={classNames('text-[#263238] dark:text-white', props.className)}
  >
    <path
      d="M46.5517 20.0596C46.5517 22.8097 47.3937 25.0143 49.0759 26.6769C50.7598 28.3377 53.0349 29.169 55.9047 29.169C58.7744 29.169 60.7057 28.4667 62.1406 27.0638C63.5754 25.6504 64.2929 24.0105 64.2929 22.1475V21.9784H60.1409V22.13C60.1409 22.8812 59.8129 23.5277 59.1586 24.0662C58.5025 24.6047 57.408 24.8749 55.8713 24.8749C54.1435 24.8749 52.8771 24.4531 52.0754 23.6114C51.2738 22.7696 50.8721 21.6473 50.8721 20.2444V19.3347C50.8721 17.9317 51.2791 16.8094 52.093 15.9677C52.9069 15.1259 54.1663 14.7042 55.8713 14.7042C57.3623 14.7042 58.4464 14.9621 59.1252 15.478C59.8146 15.9938 60.1584 16.6456 60.1584 17.4316V17.6006H64.3104L64.2929 17.381C64.2245 15.5058 63.4912 13.8799 62.0897 12.4978C60.6882 11.1054 58.6271 10.41 55.9047 10.41C53.0349 10.41 50.7581 11.2413 49.0759 12.9022C47.3919 14.5526 46.5517 16.7571 46.5517 19.5194V20.0579V20.0596Z"
      fill="currentColor"
    />
    <path
      d="M67.7853 28.6635H72.0215V19.9184C72.0215 18.0031 72.9477 17.0132 73.716 16.473C74.4843 15.9223 75.3596 15.6486 76.3419 15.6486C76.6471 15.6486 76.9243 15.6661 77.1716 15.6992C77.4312 15.7323 77.6751 15.7724 77.8996 15.8177V10.6661C77.7873 10.6208 77.5891 10.5703 77.3067 10.5145C77.0348 10.4587 76.7699 10.4308 76.5103 10.4308C75.5052 10.4308 74.6071 10.701 73.816 11.2395C73.1038 11.724 72.5285 12.2973 72.0917 12.9544C72.0461 13.0223 71.9391 12.9944 71.9338 12.9125L71.5637 10.9188H67.7836V28.6635H67.7853Z"
      fill="currentColor"
    />
    <path
      d="M79.6309 20.0596C79.6309 22.8097 80.5062 25.0143 82.2568 26.6768C84.0075 28.3377 86.3124 29.169 89.1716 29.169C92.0308 29.169 94.3182 28.3377 96.0688 26.6768C97.8317 25.016 98.7122 22.8097 98.7122 20.0596V19.5211C98.7122 16.7606 97.8317 14.5543 96.0688 12.9039C94.3182 11.243 92.0185 10.4117 89.1716 10.4117C86.3246 10.4117 84.0092 11.243 82.2568 12.9039C80.5062 14.5543 79.6309 16.7588 79.6309 19.5211V20.0596ZM83.9513 19.3364C83.9513 17.7993 84.4039 16.6769 85.3073 15.9694C86.2106 15.2618 87.4982 14.908 89.1716 14.908C90.845 14.908 92.115 15.2618 93.0184 15.9694C93.934 16.6769 94.3918 17.7993 94.3918 19.3364V20.2461C94.3918 21.8407 93.9393 22.9787 93.0359 23.6636C92.1431 24.3363 90.8555 24.6744 89.1716 24.6744C87.4876 24.6744 86.1948 24.3381 85.2915 23.6636C84.3986 22.9787 83.9531 21.839 83.9531 20.2461V19.3364H83.9513Z"
      fill="currentColor"
    />
    <path
      d="M100.636 10.9154L105.957 28.6601H110.775L114.554 15.7742C114.594 15.6366 114.79 15.6331 114.834 15.7707L118.909 28.6601H123.726L129.081 10.9154H123.842L121.198 20.7986C121.086 21.2482 120.977 21.6909 120.875 22.1283C120.818 22.4037 120.721 22.8411 120.66 23.1182C120.646 23.1792 120.558 23.1809 120.544 23.1182C120.469 22.801 120.388 22.4716 120.298 22.1266C120.186 21.6769 120.062 21.2343 119.925 20.7968L116.976 10.9137H111.959C111.959 10.9137 108.998 20.9955 108.451 23.0049C108.428 23.092 108.304 23.0903 108.281 23.0049L105.215 10.9154H100.633H100.636Z"
      fill="currentColor"
    />
    <path
      d="M130.469 20.0596C130.469 22.6859 131.186 24.8347 132.621 26.5078C134.067 28.1686 136.073 28.9999 138.638 28.9999C139.971 28.9999 141.123 28.7594 142.093 28.2767C142.769 27.9368 143.635 27.1752 144.112 26.7308C144.307 27.5464 144.568 28.6653 144.568 28.6653H148.768V2.85339H144.347V13.0555C143.783 12.2695 143.037 11.663 142.111 11.2378C141.185 10.8003 140.06 10.5808 138.739 10.5808C136.254 10.5808 134.254 11.4173 132.74 13.0886C131.227 14.7494 130.469 16.893 130.469 19.5193V20.0578V20.0596ZM134.791 20.2286L134.775 19.3538C134.775 18.0746 135.17 17.0411 135.961 16.2552C136.752 15.4587 137.978 15.0596 139.639 15.0596C140.802 15.0596 141.792 15.3298 142.604 15.8683C142.613 15.8735 142.62 15.8787 142.628 15.8839C143.716 16.6124 144.349 17.8463 144.349 19.1499V20.3698C144.349 21.71 143.681 22.9735 142.546 23.6967C142.537 23.7019 142.528 23.7072 142.52 23.7124C141.65 24.2509 140.644 24.521 139.504 24.521C137.831 24.521 136.629 24.1219 135.894 23.3255C135.159 22.5291 134.793 21.4956 134.793 20.2269L134.791 20.2286Z"
      fill="currentColor"
    />
    <path
      d="M153.785 28.6636H158.005V10.9171H153.785V28.6618V28.6636ZM152.888 6.0688C152.888 6.83213 153.148 7.46126 153.667 7.95446C154.199 8.4372 154.942 8.6777 155.904 8.6777C156.865 8.6777 157.588 8.43023 158.107 7.93703C158.638 7.44383 158.903 6.81993 158.903 6.0688C158.903 5.31767 158.644 4.7112 158.123 4.21626C157.603 3.72306 156.858 3.47559 155.886 3.47559C154.914 3.47559 154.199 3.72306 153.667 4.21626C153.148 4.70945 152.888 5.32813 152.888 6.0688Z"
      fill="currentColor"
    />
    <path
      d="M163.122 28.6635H167.342V21.466C167.342 17.3914 168.793 14.8087 171.95 14.8087C175.108 14.8087 175.781 16.6333 175.781 19.1952V28.6635H180V18.1408C180 15.1224 179.379 13.106 178.135 12.0969C176.892 11.0757 175.306 10.5651 173.373 10.5651C172.098 10.5651 170.917 10.8003 169.831 11.2726C168.856 11.6909 168.062 12.2869 167.449 13.0572C167.398 12.7836 167.12 10.9188 167.12 10.9188H163.12V28.6635H163.122Z"
      fill="currentColor"
    />
    <path
      d="M26.3793 0H10.7379C9.0578 0 7.52231 0.287415 6.17175 0.825712C4.92783 1.3215 3.84078 2.03011 2.94207 2.923C2.00965 3.84937 1.27689 4.97716 0.775862 6.27144C0.269651 7.57911 0 9.05675 0 10.6683V26.2083C0 27.9214 0.291075 29.473 0.83788 30.8333C1.33828 32.0782 2.05284 33.163 2.95448 34.0647C3.85321 34.9634 4.94061 35.672 6.18987 36.1676C7.56348 36.7125 9.13276 37 10.8621 37H26.3793C28.1035 37 29.6653 36.7108 31.0345 36.1676C32.2875 35.6704 33.3793 34.9605 34.2869 34.0647C35.1956 33.1677 35.9111 32.0816 36.4103 30.8333C36.9544 29.4727 37.2414 27.9193 37.2414 26.2083V10.7917C37.2414 9.12246 36.965 7.60651 36.445 6.27144C35.9429 4.98255 35.2137 3.86223 34.2869 2.93533C33.3841 2.03248 32.2909 1.32162 31.0345 0.825712C29.6649 0.285152 28.1015 0 26.3793 0Z"
      fill="#263238"
    />
    <path
      d="M23.0401 22.6811C23.0276 22.5454 22.9159 22.0274 22.5559 22.0151C22.1959 22.0151 21.4387 22.0151 21.4387 22.0151C21.4387 22.0151 20.9794 22.0151 20.9794 22.4591C20.9918 23.3224 21.4883 24.0624 22.0966 24.5557C22.6056 24.9751 23.2263 25.1971 23.9339 25.1971C24.5545 25.1847 24.629 24.7407 24.3311 24.6051C23.8345 24.3707 23.189 23.8527 23.0525 22.6811H23.0401Z"
      fill="white"
    />
    <path
      d="M26.3793 10.7917C24.7788 10.7917 23.1783 10.9886 21.7241 11.3445C20.336 11.6842 19.0811 12.1687 18.0869 12.765C16.9945 13.4187 16.1503 14.208 15.5669 15.1207C15.0951 15.8607 14.7848 16.6624 14.6731 17.5257C14.6358 17.8094 14.611 18.6974 15.5545 18.9317C16.1379 19.0797 17.0565 19.1414 17.6648 19.2154C18.6579 19.3264 18.931 18.2287 19.0179 18.0437C19.8 15.8977 20.9669 14.4547 22.6303 13.505C23.645 12.9269 24.8704 12.5358 26.3793 12.3158C27.381 12.1697 28.5077 12.099 29.7807 12.099C30.2027 12.099 31.1834 12.1484 31.1834 11.6674C31.1834 11.2982 30.4118 11.0869 29.4827 10.9659C28.239 10.804 26.7133 10.804 26.3793 10.804V10.7917Z"
      fill="white"
    />
    <path
      d="M22.0221 27.084C20.8924 26.825 18.9931 25.604 18.5586 22.5084C18.4717 21.9287 18.149 21.645 17.6524 21.5464C16.9945 21.4107 15.84 21.349 15.4676 21.312C14.9338 21.2627 14.5365 21.571 14.5986 22.496C14.7103 23.902 15.2814 24.9997 16.2372 26.085C17.3669 27.3677 18.8565 28.1077 20.4455 28.0707C22.1959 28.0337 22.32 27.7254 22.3324 27.491C22.3324 27.2567 22.2207 27.121 22.0221 27.0717V27.084Z"
      fill="white"
    />
    <path
      d="M17.2676 29.674C15.5173 29.674 11.8428 26.8867 11.8428 22.5207C11.8428 21.756 11.3711 20.979 10.4028 20.6954C9.62071 20.461 8.50347 20.1157 7.79588 20.0787C6.09519 19.9677 6.18209 21.3737 6.23174 22.1137C6.39312 25.2094 7.77106 27.824 10.0428 29.304C10.9862 29.9207 12.1035 30.34 13.4193 30.5867C13.7297 30.6484 14.8345 30.8704 15.9517 30.8334C17.6773 30.7594 17.8511 30.266 17.8511 30.0687C17.8511 29.8097 17.6648 29.6864 17.2676 29.6864V29.674Z"
      fill="white"
    />
    <path
      d="M31.618 7.77002C30.9146 7.56828 30.202 7.39073 29.4829 7.2371C28.4593 7.01844 27.4224 6.8482 26.3794 6.72553C23.8095 6.42326 21.2031 6.40979 18.6704 6.67235C16.4384 6.908 13.9472 7.46039 11.7778 8.59635C9.51898 9.7791 7.60898 11.5945 6.70348 14.3437C6.51728 14.8987 6.1821 16.9337 8.14348 17.427C8.77659 17.5874 9.4221 17.871 10.0924 17.9944C12.0042 18.3397 12.4138 16.539 12.5256 16.1814C12.6373 15.836 12.7614 15.503 12.9104 15.1577C13.5187 13.8627 14.4249 12.765 15.4552 11.914C17.5904 10.138 20.2469 9.29935 22.829 8.89235C24.3311 8.65802 25.8331 8.55935 27.3352 8.59635C28.1839 8.61473 28.8917 8.64167 29.4829 8.67016C30.1291 8.7013 30.6358 8.73428 31.0346 8.75994C32.2292 8.83682 32.4554 8.84798 32.5614 8.54702C32.7352 8.05369 31.9159 7.84402 31.618 7.77002Z"
      fill="white"
    />
    <path
      d="M27.7324 14.837C22.6924 14.837 21.3766 17.353 21.0041 19.0304C20.8304 19.8444 21.3269 19.906 21.7862 19.9924C22.4317 20.1034 22.9531 20.0047 23.189 19.388C23.8966 17.4764 24.8648 15.6017 27.931 15.6017C28.2414 15.6017 28.5145 15.4044 28.5145 15.2194C28.5145 15.0344 28.3159 14.837 27.7448 14.837H27.7324Z"
      fill="white"
    />
  </svg>
);

export default Crowdin;
